package xyz.csmemo.novel.service;

import org.springframework.web.multipart.MultipartFile;
import xyz.csmemo.novel.core.common.resp.RestResp;
import xyz.csmemo.novel.dto.resp.ImgVerifyCodeRespDto;

import java.io.IOException;

public interface ResourceService {
    RestResp<ImgVerifyCodeRespDto> getImgVerifyCode() throws IOException;

    RestResp<String> uploadImage(MultipartFile file);
}
